AI SDK Kotlin
Toggle table of contents
0.3.0-alpha01
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk.providers
/
mockLanguageModelTextOnly
mock
Language
Model
Text
Only
fun
mockLanguageModelTextOnly
(
text
:
String
)
:
MockLanguageModel
A model that just emits the given text once and finishes.